package com.hejia.alauda.entity;

import javax.persistence.Column;

/**
 * 
 * 红包实体对象
 *
 *
 * Created by showone on 2014 上午9:26:21.
 */
public class RedEnvelope extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public enum Status {
		STATUS_OVERDUE, STATUS_USED, STATUS_UNUSED;
	}

	@Column
	private Double amount;// 红包金额

	@Column
	private String reason;// 红包发送原因

	@Column
	private String memo;// 其他备注

	@Column
	private Long sendeeId;// 接收人Id

	@Column
	private Status status;// 状态

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Long getSendeeId() {
		return sendeeId;
	}

	public void setSendeeId(Long sendeeId) {
		this.sendeeId = sendeeId;
	}

	public Status getStatus() {
		return status;
	}

	public void setStatus(Status status) {
		this.status = status;
	}
}
